#!/bin/bash

cd ../ryuapp/

DIRNAME='mergeresult'

for num in `seq 1 4`; do
	for lambda in `seq 10 10 100`; do
		echo $lambda
		~/Desktop/note/del-flows.sh 0 39 n
		sleep 3
		FILENAME="Geant-2012-hn9-hn23-lambda-$lambda-$num.txt"
		ryu-manager --observe-links --user-flags testapp_flags.py --test_lambda $lambda testapp.py > ../eval/result/$DIRNAME/$FILENAME
		cat ../eval/result/$DIRNAME/$FILENAME | tail -n 100
		sleep 3
	done
done